package com.suyuan.dao;

import com.suyuan.entity.Newtransitbatch;
import com.suyuan.entity.NewtransitbatchExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewtransitbatchMapper {
    int countByExample(NewtransitbatchExample example);

    int deleteByExample(NewtransitbatchExample example);

    int deleteByPrimaryKey(Integer transitbatchid);

    int insert(Newtransitbatch record);

    int insertSelective(Newtransitbatch record);

    List<Newtransitbatch> selectByExample(NewtransitbatchExample example);

    Newtransitbatch selectByPrimaryKey(Integer transitbatchid);

    int updateByExampleSelective(@Param("record") Newtransitbatch record, @Param("example") NewtransitbatchExample example);

    int updateByExample(@Param("record") Newtransitbatch record, @Param("example") NewtransitbatchExample example);

    int updateByPrimaryKeySelective(Newtransitbatch record);

    int updateByPrimaryKey(Newtransitbatch record);

    List<Newtransitbatch> likeInquiry(@Param("batchId") String batchId,@Param("routeId") String routeId);

    void removeRouteId(@Param("routeId") Integer routeId);
}